|
Расположение в меню |
---|
Деталь → Примитивы → Конус |
Верстаки |
Part |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Создать примитивы |
Параметрический усечённый конус доступен из панели инструментов верстака Part, через меню (подменю примитивы), диалогового окна Создать примитивы.
The default Part Cone is truncated. It can be turned into a full, untruncated, cone by changing its ДанныеRadius1 or ДанныеRadius2 property to zero. It can be turned into a segment of a cone by changing its ДанныеAngle property.
A Part Cone object created with the scripting example below is shown here.
See also: Property editor.
A Part Cone object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:
Attachment
The object has the same attachment properties as a Part Part2DObject.
Cone
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
A Part Cone can be created with the addObject()
method of the document:
cone = FreeCAD.ActiveDocument.addObject("Part::Cone", "myCone")
"myCone"
is the name for the object.Example:
import FreeCAD as App
doc = App.activeDocument()
cone = doc.addObject("Part::Cone", "myCone")
cone.Radius1 = 5
cone.Radius2 = 10
cone.Height = 50
cone.Angle = 270
cone.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(30, 60, 15))
doc.recompute()